package com.eastfair.pay.enums;

/**
 * 退款方式
 *
 * @author Du Xiaobo
 * @date 2023/6/2 14:51
 */
public enum RefundTypeEnum {
    PUBLIC_TO_PUBLIC("PUBLIC_TO_PUBLIC", "公对公转账"),
    ONLINE("ONLINE", "线上退款"),
    OFFLINE("OFFLINE", "线下退款"),
    ;

    private String code;

    private String text;

    RefundTypeEnum(String code, String text) {
        this.code = code;
        this.text = text;
    }

    public String getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
